package com.jack.vipmis.vip.member.service;

import org.springframework.stereotype.Service;

import com.jack.vipmis.common.service.BaseService;
import com.jack.vipmis.vip.member.entity.Verify;
import com.jack.vipmis.vip.member.repository.VerifyRepository;

/**
 * 
 * @author JackLiang
 * @date 2014-7-12
 * @version 1.0
 */
@Service
public class VerifyService extends BaseService<Verify, Long> {

	private VerifyRepository getVerifyRepository() {
		return (VerifyRepository) baseRepository;
	}

	public Verify findByPhone(long phone) {
		return getVerifyRepository().findByPhone(phone);
	}

}
